namespace cnVery.bbs.Kernel
{
    using cnVery.Release;
    using cnVery.Utils;
    using System;
    using System.Configuration;

    public class Property
    {
        public static string AppPrefix
        {
            get
            {
                return System.Configuration.ConfigurationManager.AppSettings["AppPrefix"];
            }
        }

        public static string bbsName
        {
            get
            {
                return Config.Settings["bbsName"];
            }
        }

        public static string bbsVersion
        {
            get
            {
                return ("CVB " + new Version(4, 1, 6) + " Beta");
            }
        }

        public static bool IsProgramRegistered
        {
            get
            {
                return new Authorization("CVBBS").IsRegistered;
            }
        }
    }
}

